package top.yxqz.number2.dao.imp;

import org.springframework.stereotype.Repository;
import top.yxqz.number2.dao.UserDao;
import top.yxqz.number2.entity.User;

/**
 * @author: 余小小
 * @date: 2023/9/18
 * @description：用户dao实现类
 */
@Repository
public class UserDaoImp implements UserDao {
    /*
        操作数据库
     */
    @Override
    public User getUser() {

        User user = new User("admin", "111111", 22);

        return user;
    }
}
